package com.xj.pattern.template.spring;

public class JdbcTemplate {
	
	public Object execute(CallBack callBack){
		System.out.println("连接数据库");
		callBack.doInStatement("sql");
		return "返回结果";
	}

}
